﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="appleader_projects_edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑项目</title>

    <script src="../../js/calendar.js" type="text/javascript"></script>
    <script src="../../My97DatePickerBeta/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            text-align: right;
        }
    </style>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        
        <div id="content">
            <table style="width: 100%;">
                <tr>
                    <td class="style1">
                        项目ID：</td>
                    <td>
                        <asp:TextBox ID="tb_projectid" runat="server" ReadOnly="True" 
                            BorderStyle="None" BackColor="#EEEEEE"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        项目名称：</td>
                    <td>
                        <asp:TextBox ID="tb_projectname" runat="server" MaxLength="50"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="tb_projectname" ErrorMessage="*必须输入">*必须输入</asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        创建者：</td>
                    <td>
                        <asp:TextBox ID="tb_creator" runat="server" ReadOnly="True" BorderStyle="None" 
                            BackColor="#EEEEEE"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        创建时间：</td>
                    <td>
                        <asp:TextBox ID="tb_createdtime" runat="server" ReadOnly="True" 
                            BorderStyle="None" BackColor="#EEEEEE"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        使用的模型：</td>
                    <td>
                        <asp:DropDownList ID="ddl_model" runat="server">
                            <asp:ListItem Selected="True"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        使用的评估方法：</td>
                    <td>
                        <asp:DropDownList ID="ddl_method" runat="server">
                            <asp:ListItem Selected="True"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        开始时间：</td>
                    <td><asp:TextBox ID="starttime" runat="server"
                              onclick="new Calendar(2000,2030).show(this);"></asp:TextBox>
                        <img alt="" onclick="new Calendar(2000,2020).show(starttime);" 
                            src="../../images/datePicker.gif" 
                            width="16" height="22" align="middle" /><asp:RequiredFieldValidator ID="RequiredFielr1"
                                runat="server" ErrorMessage="RequiredFieldValidator" 
                                ControlToValidate="starttime">请选择日期</asp:RequiredFieldValidator> </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        结束时间：</td>
                    <td>                        
                            <asp:TextBox ID="endtime" runat="server" 
                              onclick="new Calendar(2000,2030).show(this);"></asp:TextBox>
                        <img alt="" onclick="new Calendar(2000,2030).show(endtime);" 
                            src="../../images/datePicker.gif" 
                            width="16" height="22" align="middle" /> <asp:RequiredFieldValidator ID="Requidator2" runat="server" 
                                ControlToValidate="endtime" ErrorMessage="RequiredFieldValidator">请选择日期</asp:RequiredFieldValidator> </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        进展情况：</td>
                    <td>
                        <asp:TextBox ID="tb_state" runat="server" ReadOnly="True" BorderStyle="None" 
                            BackColor="#EEEEEE"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        项目描述：</td>
                    <td>
                        <asp:TextBox ID="tb_description" runat="server" TextMode="MultiLine"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ControlToValidate="tb_description" ErrorMessage="太多字了哦~" 
                            ValidationExpression="^(\s|\S){0,100}$">太多字了哦~</asp:RegularExpressionValidator>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style1">
                        &nbsp;</td>
                    <td>
                        <asp:ImageButton ID="ImageButton1" runat="server" 
                            ImageUrl="~/images/modify.gif" onclick="ImageButton1_Click" />
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        
        </div>
        
    </div>
    </form>
</body>
</html>
